from django.urls import path
from .views import login_view, logout_view, captcha_view, UserDetailView, RegisterView

urlpatterns = [
    path(r'login/', login_view, name='login'),
    path(r'register/', RegisterView.as_view(), name='register'),
    path(r'captcha/', captcha_view, name='captcha'),
    path(r'logout/', logout_view, name='logout'),
    path(r'user/<int:pk>', UserDetailView.as_view(), name='user-detail'),

]
